#region Using References

using System.IO;

#endregion

namespace Beaker.Services.FileSystem
{
	public interface IFile
		: IFileSystemEntry
	{
		/// <summary>
		/// Open the file for reading
		/// </summary>
		/// <returns>A stream of the content of the file</returns>
		Stream OpenRead();

		/// <summary>
		/// Open the text-file for reading
		/// </summary>
		/// <returns>A text-reader with the content of the file</returns>
		TextReader OpenText();
	}
}